/*
import { RouteRecordRaw } from "vue-router";

const routes: RouteRecordRaw[] = [
  {
    path: "/login",
    component: () => import("@/views/login/login.vue"),
    name: "Login",
    meta: {
      title: "登录",
      hidden: true,
    },
  },

  {
    path: "/",
    name: "Layout",
    component: () => import("@/Layout/layout.vue"),
    redirect: "/home",
    meta: {
      hidden: false,
    },
    children: [
      {
        path: "/home",
        name: "Home",
        component: () => import("@/views/home/home.vue"),
        meta: {
          title: "首页",
          hidden: false,
          icon: "home",
        },
      },
    ],
  },


  {
    path: "/permissions",
    name: "Acl",
    component: () => import("@/Layout/layout.vue"),
    redirect: "/permissions/user",
    meta: {
      title: "权限管理",
      hidden: false,
      icon: "permissions",
    },
    children: [
      {
        path: "/permissions/user",
        name: "Acl",
        component: () => import("@/views/permissions/user/user.vue"),
        meta: {
          title: "用户管理",
          hidden: false,
          icon: "user",
        },
      },
      {
        path: "/permissions/role",
        name: "Role",
        component: () => import("@/views/permissions/role/role.vue"),
        meta: {
          title: "角色管理",
          hidden: false,
          icon: "role",
        },
      },
      {
        path: "/permissions/menuList",
        name: "Permissions",
        component: () => import("@/views/permissions/menuList/menuList.vue"),
        meta: {
          title: "菜单管理",
          hidden: false,
          icon: "menu",
        },
      },
    ],
  },

  {
    path: "/product",
    name: "Product",
    component: () => import("@/Layout/layout.vue"),
    redirect: "/product/trademark",
    meta: {
      title: "商品管理",
      hidden: false,
      icon: "product",
    },
    children: [
      {
        path: "/product/trademark",
        name: "Trademark",
        component: () => import("@/views/product/trademark/trademark.vue"),
        meta: {
          title: "品牌管理",
          hidden: false,
          icon: "trademark",
        },
      },
      {
        path: "/product/attribute",
        name: "Attr",
        component: () => import("@/views/product/attribute/attribute.vue"),
        meta: {
          title: "属性管理",
          hidden: false,
          icon: "attribute",
        },
      },
      {
        path: "/product/sku",
        name: "Sku",
        component: () => import("@/views/product/sku/sku.vue"),
        meta: {
          title: "SKU管理",
          hidden: false,
          icon: "sku",
        },
      },
      {
        path: "/product/spu",
        name: "Spu",
        component: () => import("@/views/product/spu/spu.vue"),
        meta: {
          title: "SPU管理",
          hidden: false,
          icon: "sku",
        },
      },
    ],
  },

  {
    path: "/screen",
    component: () => import("@/views/screen/screen.vue"),
    name: "Screen",
    meta: {
      title: "数据大屏",
      hidden: false,
      icon: "screen",
    },
  },


  {
    path: "/404",
    component: () => import("@/views/NotFound/NotFound.vue"),
    name: "404",
    meta: {
      title: "404",
      hidden: true,
    },
  },

  {
    path: "/:pathMatch(.*)",
    redirect: "/404",
    name: "NotFound",
    meta: {
      title: "notFount",
      hidden: true,
    },
  },
];

export default routes;
*/
